WIDTH = 1370
HEIGHT = 700

BACK_COLOR = (0, 100, 0)
CIRCLE_COLOR = (0, 175, 50)

x,y = 685,450
spd_y = 3
w,h =
def on_key_down(key):
    if key == keys.ESCAPE:
        quit()

def on_mouse_down(pos):
    print("mouse_down", pos)

def on_mouse_up(pos):
    print("mouse_up", pos)

def draw_circle(x, y, r):
    screen.draw.filled_circle((x, y), r, CIRCLE_COLOR)
    return 1

def update():
    global y
    global spd_y
 #   x += spd_x
    y += spd_y
 #   if x + r > WIDTH or x - r < 0:
 #        spd_x *= -1
    if y + r > HEIGHT or y - r < 0:
         spd_y *= -1

def draw():
    screen.clear()
    screen.fill(BACK_COLOR)
    draw_circle(x, y, r)